/**
 ----------------------
 1.提供表头所需要的信息
 2.默认会添加`操作`列
 3.自定义的属性会被合并
 ----------------------
 */
import type { TableColumnProps } from 'ant-design-vue';

const treeRawColumns: TableColumnProps[] = [
  {
    title: '标签',
    dataIndex: 'label',
  },
  {
    title: '父级ID',
    dataIndex: 'parentId',
  },
  {
    title: 'Key',
    dataIndex: 'val',
  },
  {
    title: '类型',
    dataIndex: 'type',
  },
  {
    title: '标题',
    dataIndex: 'title',
  },
  {
    title: '图标',
    dataIndex: 'icon',
  },
];
const treeColumns = ref([...treeRawColumns]);
export { treeColumns, treeRawColumns };
